int test (int x,int y) {
    int r = 0;
    //while (! (x == y)) {
        //r = (x<y)? (x = x - y) : (y = y - x);
        //r = y = y - x;
        (x<y)? r = y - x:(r = x - y);
    //}
    return r;
}